package com.swas.dao;

import com.swas.entity.PatrolCheck;
import com.swas.entity.PatrolCheckExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PatrolCheckDao {
    long countByExample(PatrolCheckExample example);

    int deleteByExample(PatrolCheckExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(PatrolCheck record);

    int insertSelective(PatrolCheck record);

    List<PatrolCheck> selectByExample(PatrolCheckExample example);

    PatrolCheck selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") PatrolCheck record, @Param("example") PatrolCheckExample example);

    int updateByExample(@Param("record") PatrolCheck record, @Param("example") PatrolCheckExample example);

    int updateByPrimaryKeySelective(PatrolCheck record);

    int updateByPrimaryKey(PatrolCheck record);
}